package com.lonely.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lonely.goods.domain.dto.goods.GoodsQuotationSheetPartSecondProcessDTO;
import com.lonely.goods.domain.dto.goods.GoodsQuotationSheetSubmitDTO;
import com.lonely.goods.domain.entity.SysGoodsSecondProcess;

import java.util.List;

/**
 * @author : 黄志标
 * @date: 2025/7/2 10:45
 * @description: 商品二次工艺接口
 */
public interface IGoodsSecondProcessService extends IService<SysGoodsSecondProcess> {

    /**
     * 编辑商品报价单部件二次工艺信息
     *
     * @param submitDTO
     */
    void submitGoodsQuotationSheetPartsSecondProcess(GoodsQuotationSheetSubmitDTO submitDTO);

    /**
     * 编辑商品报价单部件成衣二次工艺信息
     *
     * @param submitDTO
     */
    void submitGoodsQuotationSheetPartsReadyToWearSecondProcess(GoodsQuotationSheetSubmitDTO submitDTO);

    /**
     * 查询商品报价单部件二次工艺信息
     *
     * @param partId
     * @return
     */
    List<GoodsQuotationSheetPartSecondProcessDTO> queryQuotationSheetPartSecondProcesses(Long partId);

    /**
     * 查询商品报价单部件成衣二次工艺信息
     *
     * @param partId
     * @return
     */
    List<GoodsQuotationSheetPartSecondProcessDTO> queryQuotationSheetPartReadyToWearSecondProcesses(Long partId);

    /**
     * 获取指定商品id对应的 面辅料二次工艺信息
     *
     * @param goodsId
     * @return
     */
    List<SysGoodsSecondProcess> queryGoodsSecondProcesses(Long goodsId);
}
